Instance 0

Centrality↓:13.981673815549833  Popularity↓:4.999978766434802  specifity↑:0.0
        for (int i = 0; i < THREAD_COUNT; i++) {
            threads[inew MallocPerfTest(allocator);
        }
        for (Thread thread : threads) {
            thread.start();
        }
        for (Thread thread : threads) {
            thread.join();
        }

Path:D:\JavaApiSearchResult\Thread.join\Class460.java


Instance 1

Centrality↓:13.981669898154475  Popularity↓:4.999978766434802  specifity↑:0.0
    for(int t = 0; t < tl; t++th[tnew CommandClient();
    for(final Thread c : thc.start();
    for(final Thread c : thc.join();

Path:D:\JavaApiSearchResult\Thread.join\Class140.java


Instance 2

Centrality↓:13.993254083155806  Popularity↓:4.999978766434803  specifity↑:0.7357588823428847
    for (int i = 0; i < NUM_OF_THREADS; i++) {
      threads[inew Thread(new Tester(i));
    }
    for (Thread thread : threads) {
      thread.start();
    }
    for (Thread thread : threads) {
      thread.join(JOIN_TIMEOUT);
    }

Path:D:\JavaApiSearchResult\Thread.join\Class590.java


Instance 3

Centrality↓:13.993252992319706  Popularity↓:4.999978766434803  specifity↑:0.7357588823428847
    for(int i=0;i<count;i++ t.add(new Thread(runnable));
    for (Thread thread : tthread.start();
    for (Thread thread : tthread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class280.java


Instance 4

Centrality↓:13.993249409319846  Popularity↓:4.999978766434802  specifity↑:0.7357588823428847
        for (int i = 0; i < threadCount; i++) {
            threads[inew Thread(new BenchB(this, i)"BenchB-" + i);
        }
        for (Thread t : threads) {
            t.start();
        }
        for (Thread t : threads) {
            t.join();
        }

Path:D:\JavaApiSearchResult\Thread.join\Class530.java


Instance 5

Centrality↓:13.981512774054906  Popularity↓:3.9999787720375997  specifity↑:0.7357588823428847
      threads.add(new Thread(runnable));
    for (Thread thread : threads) {
      thread.start();
    }
    for (Thread thread : threads) {
      thread.join();
    }

Path:D:\JavaApiSearchResult\Thread.join\Class590.java


Instance 6

Centrality↓:13.950001079192482  Popularity↓:3.9999787720375997  specifity↑:0.0
        for (Thread t : threads) {
            t.start();
        }
        for (Thread t : threads) {
            t.join();
        }

Path:D:\JavaApiSearchResult\Thread.join\Class430.java


Instance 7

Centrality↓:13.950001079192482  Popularity↓:3.9999787720375997  specifity↑:0.0
      for (Thread hook : hooks) {
        hook.start();
      }
      for (Thread hook : hooks) {
        hook.join();
      }

Path:D:\JavaApiSearchResult\Thread.join\Class590.java


Instance 8

Centrality↓:13.981512702919108  Popularity↓:3.999978772037599  specifity↑:0.36787944117144233
                new Thread(new InterleavedTask(false)),
        for (Thread thread : threads) {
            thread.start();
        }
        for (Thread thread : threads) {
            thread.join();
        }

Path:D:\JavaApiSearchResult\Thread.join\Class120.java


Instance 9

Centrality↓:13.981159347233586  Popularity↓:2.9999810323670064  specifity↑:0.7357588823428847
        for (int i = 0; i < tasks.length; i++) {
            Thread thread = new Thread(tasks[i]);
            thread.start();
            threads[i= thread;
        }
        for (Thread thread : threads) {
            thread.join(TIMEOUT);
        }

Path:D:\JavaApiSearchResult\Thread.join\Class600.java


Instance 10

Centrality↓:13.949927215677747  Popularity↓:3.9999787720375997  specifity↑:0.0
        for (Thread thread : threads) {
            thread.start();
        }
        for (Thread thread : threads) {
            thread.join();
        }

Path:D:\JavaApiSearchResult\Thread.join\Class560.java


Instance 11

Centrality↓:13.949588008491801  Popularity↓:2.9999954737383896  specifity↑:0.0
        for Thread thread2 : threads )
        {
            thread2.start();
        }
        for Thread thread1 : threads )
        {
            thread1.join();
        }

Path:D:\JavaApiSearchResult\Thread.join\Class80.java


Instance 12

Centrality↓:13.949588008491801  Popularity↓:2.9999954737383896  specifity↑:1.3743088899875526
        for (Thread thread : threads) {
            thread.start();
            LOG.info("thread {} started", thread.getName());
        }
        for (Thread thread : threads) {
            thread.join();
            LOG.info("join on {} returned", thread.getName());
        }

Path:D:\JavaApiSearchResult\Thread.join\Class590.java


Instance 13

Centrality↓:13.94877471037299  Popularity↓:1.9999977340677966  specifity↑:1.103638323514327
        for (ThreadBase[] threads : args)
            for (Thread thread : threads) {
                thread.start();
                while (thread.getState() != State.WAITING)
                    // waits for all threads to be started and ready to rush
                    // when lock.notifyAll() is issued
                    thread.join(1);
            }

Path:D:\JavaApiSearchResult\Thread.join\Class390.java


Instance 14

Centrality↓:13.589485554351889  Popularity↓:0.0  specifity↑:1.8393972058572117
        final int taskSize = tasks.size();
        for (int i = 0; i < taskSize; i++) {

            final Thread thread = new Thread(tasks.get(i));
            thread.run();
            thread.join();
        }

Path:D:\JavaApiSearchResult\Thread.join\Class110.java